.editor-container {
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;

  :first-child {
    margin-top: 0;
  }
  .toolbar {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    .el-button + .el-button {
      margin-left: 0px;
    }

    .avatar-uploader .el-upload {
      border: none;
      border-radius: 0px;
    }
  }

  /* List styles */
  ul,
  ol {
    padding: 0 1rem;
    margin: 1.25rem 1rem 1.25rem 0.4rem;

    li p {
      margin-top: 0.25em;
      margin-bottom: 0.25em;
    }
  }

  /* Basic editor styles */
  .tiptap:-moz-focusring {
    outline: none;
  }
  .tiptap:focus-visible {
    outline: none;
  }

  .tiptap {
    padding: 10px;

    /* Heading styles */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      line-height: 1.1;
      margin-top: 2.5rem;
      text-wrap: pretty;
    }

    h1,
    h2 {
      margin-top: 3.5rem;
      margin-bottom: 1.5rem;
    }

    h1 {
      font-size: 1.4rem;
    }

    h2 {
      font-size: 1.2rem;
    }

    h3 {
      font-size: 1.1rem;
    }

    h4,
    h5,
    h6 {
      font-size: 1rem;
    }

    /* Code and preformatted text styles */
    code {
      background-color: rgba(88, 5, 255, 0.05);
      border-radius: 0.4rem;
      color: #2e2b29;
      font-size: 0.85rem;
      padding: 0.25em 0.3em;
    }

    pre {
      background: #f5f2f0;
      border-radius: 0.5rem;
      color: var(--white);
      font-family: 'JetBrainsMono', monospace;
      margin: 1.5rem 0;
      padding: 0.75rem 1rem;

      code {
        background: none;
        color: inherit;
        font-size: 0.8rem;
        padding: 0;
      }
    }

    blockquote {
      border-left: 3px solid rgba(61, 37, 20, 0.12);
      margin: 1.5rem 0;
      padding-left: 1rem;
    }

    hr {
      border: none;
      border-top: 1px solid rgba(61, 37, 20, 0.08);
      margin: 2rem 0;
    }
  }
  /* 基础内容样式 */
  .ProseMirror {
    > * + * {
      margin-top: 0.75em;
    }
  
    img {
      max-width: 100%;
      height: auto;
  
      &.ProseMirror-selectednode {
        outline: 3px solid #68cef8;
      }
    }
  }
}